package com.zhijian.medical.dao.local;

import com.zhijian.medical.entity.po.DigitalSliceCaseGroup;
import com.zhijian.medical.entity.vo.request.DigitalSliceCaseGroupSearchVo;
import com.zhijian.medical.entity.vo.response.DigitalSliceCaseGroupVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DigitalSliceCaseGroupMapper {
    int deleteByPrimaryKey(Long id);

    int insert(DigitalSliceCaseGroup record);

    int insertSelective(DigitalSliceCaseGroup record);

    DigitalSliceCaseGroup selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(DigitalSliceCaseGroup record);

    int updateByPrimaryKey(DigitalSliceCaseGroup record);

    int count(DigitalSliceCaseGroupSearchVo digitalSliceCaseGroupSearchVo);

    List<DigitalSliceCaseGroupVo> selectList(DigitalSliceCaseGroupSearchVo digitalSliceCaseGroupSearchVo);

    DigitalSliceCaseGroupVo selectVoById(Long id);

    int insertBatch(@Param("entities") List<DigitalSliceCaseGroup> entities);
}